package com.donn.securitycontrolplatform.db1.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.donn.securitycontrolplatform.positioninformation.entity.TPositionInfo;
import com.donn.securitycontrolplatform.positioninformation.request.PositionInfoReq;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * LOC 标签位置信息 Mapper 接口
 * </p>
 *
 * @author zhenglx
 * @since 2022-06-23
 */
@Mapper
public interface TPositionInfoMapper extends BaseMapper<TPositionInfo> {

    List<TPositionInfo> getPositionInfo(@Param("param") PositionInfoReq positionInfoReq);

    TPositionInfo getPositionInfoByTagId(@Param("tagId") String tagId);

    List<TPositionInfo> getlastPositionBytTagIds(@Param("tagIds") List<String> tagIds);

}
